#!/bin/csh

#*** The "#PBS" lines must come before any non-blank non-comment lines ***
#PBS -l walltime=00:30:00
#PBS -l nodes=15:ppn=2
#PBS -l arch=x86_64
#PBS -l mem=100MB
 
set mycommand = $scriptname  # note "./" is used to not rely on $PATH

pbsdsh $PBS_O_WORKDIR/$mycommand $job 
set ret = $?

echo "Done   " `date`
exit $ret
